jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
		//auto: false,
   	wrap: 'circular'
    });
});




jQuery(document).ready(function() {
    jQuery('#mycarousel-mot').jcarousel({
		wrap: 'circular',
            //auto: 1,
            scroll: 1,
			animation: "slow"
    });
});
jQuery(document).ready(function() {
    $('#s4').cycle({ 
    fx:      'scrollUp', 
    speed:    2000, 
    timeout:  2000 
  });
});
jQuery(document).ready(function() {
    $('#s6').cycle({ 
    fx:     'scrollUp', 
    timeout: 5000, 
  });
});
jQuery(document).ready(function() {
    $('#s3').cycle({ 
    fx:     'scrollUp',
    timeout: 5000, 
  });
});

function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};


 function mycarousel_initCallback(carousel) {
        // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function () {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function () {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function () {
        carousel.stopAuto();
    }, function () {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel-hai').jcarousel({
       //  auto: 1,
        wrap: 'circular',
        scroll: 1,
        animation: "slow" ,
        initCallback: mycarousel_initCallback
    });
});


jQuery(document).ready(function() {
   ddsmoothmenu.init({
    mainmenuid: "menuwrapper", //menu DIV id
    orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
    classname: 'ddsmoothmenu', //class added to menu's outer DIV
    //customtheme: ["#1c5a80", "#18374a"],
    contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
  })  
});